<?php

namespace slinks\extensions\action\configuration;

use slinks\core\DependencyInjection\IDumpsArgument;

/**
 *  
 * 
 * @author Navid Mitchell
 *
 */
class ResultMapping implements IResultMapping, IDumpsArgument {

    private $name;
    private $type;
    private $value;

    public function __construct($name, $type, $value) {
        $this->name = $name;
        $this->type = $type;
        $this->value = $value;
    }

    public function getName() {
        return $this->name;
    }

    /**
     * @return string the type for this result. 
     */
    public function getType() {
        return $this->type;
    }

    public function getValue() {
        return $this->value;
    }

    public function getArgumentString() {
        return "new slinks\\extensions\\action\\configuration\\ResultMapping('{$this->name}','{$this->type}','{$this->value}')";
    }

}